using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN ILoaiDiemService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: ILoaiDiemService</para>
	/// <para>Description: </para>
	///</summary>

	[ServiceContract]
	public partial interface ILoaiDiemService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: LoaiDiem_ID</para>
		/// <para>Output: LoaiDiemEntity</para>
		///</summary>
		[OperationContract]
		LoaiDiemEntity SelectOne(int LoaiDiem_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOneByMaLoaiDiem</para>
		/// <para>Input: MaLoaiDiem</para>
		/// <para>Output: LoaiDiemEntity</para>
		///</summary>
		[OperationContract]
		LoaiDiemEntity SelectOneByMaLoaiDiem(string MaLoaiDiem);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of LoaiDiemEntity</para>
		///</summary>
		[OperationContract]
		List<LoaiDiemEntity> SelectAll();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDS();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of LoaiDiemEntity</para>
		///</summary>
		[OperationContract]
		List<LoaiDiemEntity> SelectAllFilter(string strFilter);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSFilter(string strFilter);
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: LoaiDiemEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Save(LoaiDiemEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveRet</para>
		/// <para>Input: LoaiDiemEntity</para>
		/// <para>Output: return entity if succeeded else return null</para>
		///</summary>
		[OperationContract]
		LoaiDiemEntity SaveRet(LoaiDiemEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of LoaiDiemEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void SaveList(List<LoaiDiemEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of LoaiDiemEntity</para>
		/// <para>Output: return list of entities if succeeded else return null list</para>
		///</summary>
		[OperationContract]
		List<LoaiDiemEntity> SaveListRet(List<LoaiDiemEntity> list);
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: LoaiDiemEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Update(LoaiDiemEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of LoaiDiemEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void UpdateList(List<LoaiDiemEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMaLoaiDiem</para>
		/// <para>Input: NewMaLoaiDiem,LoaiDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMaLoaiDiem(string NewMaLoaiDiem,int LoaiDiem_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateTenLoaiDiem</para>
		/// <para>Input: NewTenLoaiDiem,LoaiDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateTenLoaiDiem(string NewTenLoaiDiem,int LoaiDiem_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateHeSo</para>
		/// <para>Input: NewHeSo,LoaiDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateHeSo(Decimal NewHeSo,int LoaiDiem_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateGhiChu</para>
		/// <para>Input: NewGhiChu,LoaiDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateGhiChu(string NewGhiChu,int LoaiDiem_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateIsDiemTongKet</para>
		/// <para>Input: NewIsDiemTongKet,LoaiDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateIsDiemTongKet(bool NewIsDiemTongKet,int LoaiDiem_ID);
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: LoaiDiemEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Delete(LoaiDiemEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: LoaiDiem_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByID(int LoaiDiem_ID);
		#endregion

		#region Select,delete by LoaiDiem_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END LoaiDiemWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

